package com.web.base.user.message;

import java.io.Serializable;
import java.util.Date;

import com.blue.core.dict.State;
import com.web.core.dict.OfficeType;

/**
 * 部门响应内容
 * 
 * @author 代码由 blue-code 框架生成
 * @since 1.0 2017年04月16日
 */
public class OfficeResponse implements Serializable
{
	private static final long serialVersionUID = 1L;
	
	private Integer id; // 部门编号
	private Integer parentId; // 上级编号
	private String code; // 代码
	private String name; // 部门名称
	private String pic; // 部门图片
	private String descp; // 部门描述
	private OfficeType type; // 部门类型
	private String address; // 详细地址
	private Double longitude; // 经度
	private Double latitude; // 纬度
	private State state; // 部门状态
	private Integer sort; // 排序
	private Date createDate; // 创建时间
	private Date endDate; // 结束时间
	private String picUrl; // 部门图片完整URL
	
	public OfficeResponse()
	{
	}
	
	public Integer getId()
	{
		return this.id;
	}
	
	public void setId(Integer id)
	{
		this.id = id;
	}
	
	public Integer getParentId()
	{
		return this.parentId;
	}
	
	public void setParentId(Integer parentId)
	{
		this.parentId = parentId;
	}
	
	public String getCode()
	{
		return this.code;
	}
	
	public void setCode(String code)
	{
		this.code = code;
	}
	
	public String getName()
	{
		return this.name;
	}
	
	public void setName(String name)
	{
		this.name = name;
	}
	
	public String getPic()
	{
		return this.pic;
	}
	
	public void setPic(String pic)
	{
		this.pic = pic;
	}
	
	public String getDescp()
	{
		return this.descp;
	}
	
	public void setDescp(String descp)
	{
		this.descp = descp;
	}
	
	public OfficeType getType()
	{
		return this.type;
	}
	
	public void setType(OfficeType type)
	{
		this.type = type;
	}
	
	public String getAddress()
	{
		return this.address;
	}
	
	public void setAddress(String address)
	{
		this.address = address;
	}
	
	public Double getLongitude()
	{
		return this.longitude;
	}
	
	public void setLongitude(Double longitude)
	{
		this.longitude = longitude;
	}
	
	public Double getLatitude()
	{
		return this.latitude;
	}
	
	public void setLatitude(Double latitude)
	{
		this.latitude = latitude;
	}
	
	public State getState()
	{
		return this.state;
	}
	
	public void setState(State state)
	{
		this.state = state;
	}
	
	public Integer getSort()
	{
		return this.sort;
	}
	
	public void setSort(Integer sort)
	{
		this.sort = sort;
	}
	
	public Date getCreateDate()
	{
		return this.createDate;
	}
	
	public void setCreateDate(Date createDate)
	{
		this.createDate = createDate;
	}
	public String getPicUrl()
	{
		return picUrl;
	}

	public void setPicUrl(String picUrl)
	{
		this.picUrl = picUrl;
	}
	public Date getEndDate()
	{
		return this.endDate;
	}
	
	public void setEndDate(Date endDate)
	{
		this.endDate = endDate;
	}
	
}
